Finding Palindromes With JavaScript